package com.groupbuying.payproducer.service.impl;

import com.groupbuying.payproducer.dao.PayWechatpayResultDao;
import com.groupbuying.payproducer.domain.PayWechatpayResultDO;
import com.groupbuying.payproducer.service.PayWechatpayResultService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;




@Service
public class PayWechatpayResultServiceImpl implements PayWechatpayResultService {
	@Autowired
	private PayWechatpayResultDao payWechatpayResultDao;
	
	@Override
	public PayWechatpayResultDO get(String id){
		return payWechatpayResultDao.get(id);
	}
	
	@Override
	public List<PayWechatpayResultDO> list(Map<String, Object> map){
		return payWechatpayResultDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return payWechatpayResultDao.count(map);
	}
	
	@Override
	public int save(PayWechatpayResultDO payWechatpayResult){
		return payWechatpayResultDao.save(payWechatpayResult);
	}
	
	@Override
	public int update(PayWechatpayResultDO payWechatpayResult){
		return payWechatpayResultDao.update(payWechatpayResult);
	}
	
	@Override
	public int remove(String id){
		return payWechatpayResultDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return payWechatpayResultDao.batchRemove(ids);
	}
	
}
